package com.sgcc.operate.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 报告管理对象 o_report
 * 
 * @author sgcc
 * @date 2021-03-31
 */
public class OReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    @Excel(name = "唯一标识")
    private String reId;

    /** 报告名称 */
    @Excel(name = "报告名称")
    private String reName;

    /** 报告类型 */
    @Excel(name = "报告类型")
    private String reType;

    /** 报告附件 */
    @Excel(name = "报告附件")
    private String rePath;

    /** 报告开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报告开始时间", width = 30, dateFormat = "yyyy-MM-dd ")
    private Date begDate;

    /** 报告结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报告结束时间", width = 30, dateFormat = "yyyy-MM-dd ")
    private Date endDate;

    /** 报告描述 */
    @Excel(name = "报告描述")
    private String reDesc;

    /** 供电单位 */
    @Excel(name = "供电单位")
    private String orgNo;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    /** 逻辑删除标记（0：显示；1：隐藏） */
    @Excel(name = "逻辑删除标记", readConverterExp = "0=：显示；1：隐藏")
    private String delFlag;

    private String deptName;

    public void setReId(String reId) 
    {
        this.reId = reId;
    }

    public String getReId() 
    {
        return reId;
    }
    public void setReName(String reName) 
    {
        this.reName = reName;
    }

    public String getReName() 
    {
        return reName;
    }
    public void setReType(String reType) 
    {
        this.reType = reType;
    }

    public String getReType() 
    {
        return reType;
    }
    public void setRePath(String rePath) 
    {
        this.rePath = rePath;
    }

    public String getRePath() 
    {
        return rePath;
    }
    public void setBegDate(Date begDate) 
    {
        this.begDate = begDate;
    }

    public Date getBegDate() 
    {
        return begDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setReDesc(String reDesc) 
    {
        this.reDesc = reDesc;
    }

    public String getReDesc() 
    {
        return reDesc;
    }
    public void setOrgNo(String orgNo) 
    {
        this.orgNo = orgNo;
    }

    public String getOrgNo() 
    {
        return orgNo;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reId", getReId())
            .append("reName", getReName())
            .append("reType", getReType())
            .append("rePath", getRePath())
            .append("begDate", getBegDate())
            .append("endDate", getEndDate())
            .append("reDesc", getReDesc())
            .append("orgNo", getOrgNo())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
